package com.dgac.publicresource.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class VoucherOrder {
    /**
     * 优惠券订单id
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 摊位id
     */
    private Long shopId;

    /**
     * 订单创建时间
     */
    private LocalDateTime creatTime;
}
